package com.xyht.sca_s.student_manage_system.modules.meeting.entity.resp;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xyht.sca_s.student_manage_system.modules.user.entity.resp.SmsSearchUserResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 会议室预定申请表
 * </p>
 *
 * @author XYHT
 * @since 2023-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_meeting_room_predetermine_apply")
@ApiModel(value = "SmsMeetingRoomPredetermineApply对象", description = "会议室预定申请表")
public class MeetingRoomPredetermineApplyResp implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "预定单号")
    private String id;

    @ApiModelProperty(value = "申请人id")
    private String applyUserId;

    @ApiModelProperty(value = "申请人信息")
    private SmsSearchUserResp applyUserInfo;

    @ApiModelProperty(value = "审批状态：0:待审批 1：通过 2：驳回 3：撤回")
    private Integer allowStatus;

    @ApiModelProperty(value = "申请结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date applyEndTime;

    @ApiModelProperty(value = "会议主题")
    private String name;

    @ApiModelProperty(value = "会议室id")
    private String meetingRoomId;

    @ApiModelProperty(value = "会议室信息")
    private SmsMeetingRoomInfoResp meetingRoomInfo;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "参与者idList")
    private List<String> memberIdList;

    @ApiModelProperty(value = "描述")
    private String applyRemark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    @ApiModelProperty(value = "审批人id")
    private String allowUserId;

    @ApiModelProperty(value = "审批人信息")
    private SmsSearchUserResp allowUserInfo;

    @ApiModelProperty(value = "流程节点id")
    private String detailId;

    @ApiModelProperty(value = "审批状态：0：审批中  1：通过   2：驳回   3：撤回结束  4：驳回结束")
    private Integer processDetailStatus;

    @ApiModelProperty(value = "审批备注")
    private String processDetailRemark;

    @ApiModelProperty(value = "流程节点集合")
    private List<MeetingRoomProcessDetailResp> processList;

}
